/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.ExecHardware;
import br.gov.cemaden.library.model.smp.Uptime;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface UptimeInterface {
    List<Uptime>findAll();
    Uptime findById(Long id);
    Uptime findByUptime(String uptime);
    List<Uptime> findByExecHardware(ExecHardware execHardware);
    Uptime insert(Uptime uptime);
    Uptime update(Uptime uptime);
    void delete(Uptime uptime);  
}
